Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
File Objects Routines / Accessing File Objects


Q3File_GetMode

You can use the Q3File_GetMode function to determine an open file object's current file mode.

TQ3Status Q3File_GetMode (
TQ3FileObject file, 
TQ3FileMode *mode);
file
A file object. This file object must be open.
mode
On exit, the current file mode of the specified file object.
DESCRIPTION
The Q3File_GetMode function returns, in the mode parameter, a set of flags that encodes the current file mode of the file object specified by the file parameter. See "File Mode Flags" on page 17-12 for a complete description of the available file mode flags.

ERRORS
kQ3ErrorFileNotOpen
kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996